package com.itzhoun;

/**
 * @author 周楠
 * @Date 2023/03/06/下午 10:53
 */
public class OnLight implements Command{

    private Light light;

    public OnLight(Light light) {
        this.light = light;
    }

    @Override
    public void excute() {
        light.on();

    }
}
